-- GENERATED SPELL FOR [Stillpine Ancestor Akida] --


function spell0_17379(pUnit, Event) --@Elemental Spawn-in,Self--
pUnit:FullCastSpellOnTarget(25035,pUnit)
pUnit:RegisterEvent('Sorts_17379', 661, 1)
end

function Sorts_17379(pUnit, Event)
local choix_sorts_17379 = math.random(0, 0)
if choix_sorts_17379 == 0 then
pUnit:RegisterEvent('spell0_17379', 1, 1)
end
end

function mob17379_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17379', math.random(1500, 3000), 1)
end

function mob17379_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17379_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17379_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17379, 1, 'mob17379_Action')
RegisterUnitEvent(17379, 2, 'mob17379_Leave')
RegisterUnitEvent(17379, 3, 'mob17379_Kill')
RegisterUnitEvent(17379, 4, 'mob17379_Die')
